POV-Ray : Newsgroups : povray.binaries.images : Desert Landscape take 3 (89kbu) : Re: Desert Landscape take 3 (89kbu) Server Time
16 Aug 2024 10:27:01 EDT (-0400)
  Re: Desert Landscape take 3 (89kbu)  
From: Rune
Date: 17 Mar 2002 06:30:03
Message: <3c947e3b$2@news.povray.org>
"Slime" wrote:
> These textures are really impressive... so are the shapes.

Thanks! :)

> Could you explain or at least give a hint as to what
> functions and objects you're using for these?

It's a single height_field made from a function.

I start with a highly exponentally raised noise3d function:

#include "functions.inc"
#declare f_hills = function (x,y,z) {f_noise3d(x,y,z)^10*15}

I clip that function in the 0-1 range and add some smaller noise to it that
increases with altitude:

#declare f_nhills =
function (x,y,z) {
   min(
      1,
      (
         f_hills(x,y,z)
         * (1+f_noise3d(x*10,y*10,z*10)*1.0)
         * (1+f_noise3d(x*30,y*30,z*30)*0.5)
      )
   )
}

I then add together three of these f_nhills functions with different
strengths and also add a f_ridged_mf function to it all. The rest is
tweaking.

Hope that helps!

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Feb 16)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.